package com.tang.model.expresion.operator.abst;

import com.tang.model.expresion.number.abst.IArithmeticInterpreter;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/9/6 8:18
 * @Desc 抽象的操作符  它包含一个左边的计数数据 和 右边的计数数据
 * @Remarks
 */
public abstract class AbstractOperatorInterpreter implements IArithmeticInterpreter {
    protected Integer left;
    protected Integer right;

    public AbstractOperatorInterpreter(Integer left, Integer right) {
        this.left = left;
        this.right = right;
    }

    @Override
    public abstract Integer getNumber();

}
